#include "OCMain/FileUtil.h"
#include "drogon/drogon.h"

using namespace OCPP;

#if defined(_MSC_VER)
#ifndef OCPP_ControllerMapServer_EXPORTS
#define _MapServerExport  __declspec(dllimport)
#else
#define _MapServerExport  __declspec(dllexport)
#endif
#else
#define _MapServerExport
#endif

#include "plugin.h"


#ifndef OC_STATIC_LIB
extern "C" void _MapServerExport dllStartPlugin();
extern "C" void _MapServerExport dllStopPlugin();

extern "C" void _MapServerExport dllStartPlugin()
{
	init();
}

extern "C" void _MapServerExport dllStopPlugin()
{
	release();
}

#endif
